import { createRouter,createWebHistory } from "vue-router";

const routes = [
    {
        path: "/",
        name: "shangping",
        component: () => import("../components/ces/c1/shangping.vue"),
        children: [
          {
            path: "rx",
            component: () => import("../components/ces/c2/rx.vue"),
          },
          // {
          //   path: "drtstc",
          //   component: () => import("../components/ces/c2/drtstc.vue"),
          // },
          // {
          //   path: "ts",
          //   component: () => import("../components/ces/c2/ts.vue"),
          // },
          // {
          //   path: "jx",
          //   component: () => import("../components/ces/c2/jx.vue"),
          // },
          // {
          //   path: "sk",
          //   component: () => import("../components/ces/c2/sk.vue"),
          // },
          // {
          //   path: "bcp",
          //   component: () => import("../components/ces/c2/bcp.vue"),
          // },
          // {
          //   path: "ml",
          //   component: () => import("../components/ces/c2/ml.vue"),
          // },
          // {
          //   path: "fl",
          //   component: () => import("../components/ces/c2/fl.vue"),
          // },

        ],
    },
    {
        path: "/shangjia",
        name: "shangjia",
        component: () => import("../components/ces/c1/shangjia.vue"),
    },
    {
        path: "/pingjia",
        name: "pingjia",
        component: () => import("../components/ces/c1/pingjia.vue"),
    }
];
const router = createRouter({
    history: createWebHistory(),
    routes,
})
export default router;